package com.xinchuang.entity.image;

import java.time.LocalDateTime;
import java.io.Serializable;

import cn.hutool.core.date.LocalDateTimeUtil;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zx
 * @since 2023-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ImageGrid implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId
    private String id;

    /**
     * 关联ID
     */
    private String relId;

    /**
     * 栅格名称
     */
    private String gridName;

    /**
     * 栅格形状
     */
    private String gridType;

    /**
     * 栅格长度
     */
    private String gridLength;

    /**
     * 栅格宽度
     */
    private String gridWidth;

    /**
     * 栅格编号
     */
    private String gridNumber;

    /**
     * 标绘
     */
    private String position;

    private String pId;

    private String pType;

    private String pJson;

    private String pValue;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
